<?php
	session_start();
	import_request_variables("gP");
	$id_user = $_SESSION['id_usuario'];
	$id_unidad = $_SESSION['idunidad'];		
	$id_delegacion = $_SESSION['iddelegacion'];
	$id_entidad = $_SESSION['identidad'];

	if (!isset($id_user)) {
		echo "Usuario: ".$id_user;
		echo "<br><H2>No autorizado</H2>";
		exit();
	}	
    include("conex.php");
	require('funciones.php');
	require('fechas.php');
	//include('matrices.php');
	
header("Content-Type: text/html; charset=iso-8859-1");


	
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<script language="javascript" type="text/ecmascript" src="js/form.js"></script>
<script language="javascript" src="js/prototype.js"></script>
<script language="javascript" src="js/ajax.js"></script>


<link rel="stylesheet" href="windowfiles/dhtmlwindow.css" type="text/css" />
<style type="text/css">
<!--
.Estilo2 {
	color: #990000;
	font-weight: bold;
}
-->
</style>
<head>
<meta http-equiv="Content-Type" content="text/html">
<title>DIRECCION MEDICA:: REGISTRO DE INFORMACION</title>
<link href="css/estilos.css" rel="stylesheet" type="text/css">

<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}
-->
</style></head>



<table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
        <td height="100%" valign="top"><div align="center"><img src="images/top.jpg" alt="" width="745" height="102" align="baseline" /></div></td>
  </tr>

</table>
